.class Lcom/xingbook/ting/fragment/a;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/SeekBar$OnSeekBarChangeListener;


# instance fields
.field final synthetic a:Lcom/xingbook/ting/fragment/TingPlayBottomFragment;


# direct methods
.method constructor <init>(Lcom/xingbook/ting/fragment/TingPlayBottomFragment;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/ting/fragment/a;->a:Lcom/xingbook/ting/fragment/TingPlayBottomFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onProgressChanged(Landroid/widget/SeekBar;IZ)V
    .locals 0

    return-void
.end method

.method public onStartTrackingTouch(Landroid/widget/SeekBar;)V
    .locals 0

    return-void
.end method

.method public onStopTrackingTouch(Landroid/widget/SeekBar;)V
    .locals 2

    sget-object v0, Lcom/xingbook/ting/play/MusicService;->s:Lcom/xingbook/ting/play/MusicService;

    if-eqz v0, :cond_0

    sget-object v0, Lcom/xingbook/ting/play/MusicService;->s:Lcom/xingbook/ting/play/MusicService;

    invoke-virtual {v0}, Lcom/xingbook/ting/play/MusicService;->n()Landroid/media/MediaPlayer;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {p1}, Landroid/widget/SeekBar;->getProgress()I

    move-result v1

    invoke-virtual {v0}, Landroid/media/MediaPlayer;->getDuration()I

    move-result v0

    if-lt v0, v1, :cond_0

    sget-object v0, Lcom/xingbook/ting/play/MusicService;->s:Lcom/xingbook/ting/play/MusicService;

    invoke-virtual {v0}, Lcom/xingbook/ting/play/MusicService;->n()Landroid/media/MediaPlayer;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/media/MediaPlayer;->seekTo(I)V

    :cond_0
    return-void
.end method
